Skip to content

fix: rewrite kalibr signup to call /signup-and-provision (live endpoint)#150

Merged
devonakelley merged 1 commit intomainfrom
fix/signup-use-provision-endpoint
Apr 4, 2026
Merged

fix: rewrite kalibr signup to call /signup-and-provision (live endpoint)#150
devonakelley merged 1 commit intomainfrom
fix/signup-use-provision-endpoint

Conversation

@devonakelley
Copy link
Copy Markdown
Contributor

Problem

kalibr signup was calling /api/cli-auth/signup which is hardcoded to return 410 (deprecated). Every signup attempt failed immediately.

Fix

Rewrites signup_cmd.py to call /api/cli-auth/signup-and-provision — the live endpoint that:

  • Creates Clerk user + org
  • Provisions API key immediately (no polling loop)
  • Returns claim_url so the human can access the dashboard
  • Saves KALIBR_API_KEY + KALIBR_TENANT_ID to .env

Verified live

POST /api/cli-auth/signup-and-provision returns status: provisioned, api_key, tenant_id, claim_url

Changes

  • kalibr/cli/signup_cmd.py: Complete rewrite. No polling loop. Credentials returned in ~1 second.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@devonakelley devonakelley merged commit 877909e into main Apr 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant